
body {
    background-image: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-1.2.1&auto=format&fit=crop&w=1351&q=80');
}

.page-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
}

.deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.deck-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.deck-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.deck-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.deck-content {
    padding: 20px;
}

.deck-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.deck-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.deck-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 8px;
}

.deck-info-label {
    font-size: 0.8em;
    margin-bottom: 5px;
}

.deck-info-value {
    font-weight: bold;
}

.deck-card.add-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.deck-card.add-new:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.add-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.add-text {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.deck-card.add-new:hover .add-icon,
.deck-card.add-new:hover .add-text {
    color: #fff;
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .container {
        padding: 80px 15px 30px;
    }

    .deck-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .back-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .page-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
}